﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Innova.Microfinanzas.BusinessEntities;
using Innova.FoundationFramework.DataTypes;

namespace MyCommerce.Presentation.Stores.IViews
{
    public interface IPointOfSales
    {
        Product InvokeEditionView(string productToSearch);
        bool InvokeSaleView(List<SalesOrderDetail> objSalesOrderDetail);
        void ClearWindow();

        SalesOrderDetail AddProductToSale { set; }
        List<SalesOrderDetail> ColProductToSale { get; }

        event GenericEventHandler<long> OnLoadView;
        event GenericEventHandler<string> OnSearchProduct;
        event EventHandler OnSale;
    }
}
